home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Info / TeachU14 / SAMS / Code / Day01 / wrapme.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-08  |  574 b   |  23 lines

  1. //---------------------------------------------------------------------------
  2. #include <condefs.h>
  3. #include <conio.h>
  4. #include <iostream.h>
  5. #pragma hdrstop
  6.  
  7. //---------------------------------------------------------------------------
  8. //
  9. // We comment out the argc and argv variables to avoid
  10. // compiler warnings.
  11. //
  12. int main(int /*argc*/, char /***argv*/)
  13. {
  14.   short x = 32767;
  15.   cout << "x = " << x << endl;
  16.   x++;
  17.   cout << "x = " << x << endl;
  18.   getch();
  19.   return 0;
  20. }
  21. //---------------------------------------------------------------------------
  22.  
  23.